<?php  if(!$session->read('Auth.User')) { ?>
<br />
<?php 
	echo $form->create('User', array('url'=>'/users/login'))?>
		<?php echo $form->input('email', array( 'value'=>'Email','label'=>'','class'=>'swap_value'))?>
		<?php echo $form->input('password', array('value'=>'Password','label'=>'','class'=>'swap_value'))?>
		<?php echo $form->input('remember_me', array('type'=>'checkbox'))?>
		<?php echo $form->end(array('label'=>__('Login'), 'div'=>array('class'=>'','align'=>'center')));?>
		<?php echo $html->link(__('Register Now'), '/users/register'); ?><br /><?php echo $html->link(__('Forgot Password?'), '/users/forgotPassword'); ?>
<?php  } else { ?>
<br />
<?php 
echo $html->link(__('My Account'), '/users/myAccount')."<br>";
echo $html->link(__('Logout'), '/users/logout');
?>
<?php } ?>
<br /><br />